﻿#pragma once

#include <collection.h>
#include <ppltasks.h>


extern "C"
{
	#include <libavutil/imgutils.h>
	#include <libavutil/opt.h>
	//#include <libavutil/hwcontext_d3d11va.h>
	#include <libavcodec/avcodec.h>
	#include <libavformat/avformat.h>
	#include <libswscale/swscale.h>
	#include <libswresample/swresample.h>
}

#define BREAK_IF_NULL(x) if ((x) == nullptr){break;}